package com.offcn.sellergood.feign;

import com.offcn.entity.Result;
import com.offcn.sellergood.pojo.ItemCat;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name="DYM-SELLERGOOD")
public interface ItemCatFeign {

    @GetMapping("/itemCat/{id}")
    public Result<ItemCat> findById(@PathVariable Long id);

}
